package com.nsqt.biz.service.impl;

import com.nsqt.biz.dao.TrademarkDao;
import com.nsqt.biz.domain.TrademarkDO;
import com.nsqt.biz.service.TrademarkService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class TrademarkServiceImpl implements TrademarkService {
    @Autowired
    private TrademarkDao trademarkDao;

    @Override
    public TrademarkDO get(Integer id) {
        return trademarkDao.get(id);
    }

    @Override
    public List<TrademarkDO> list(Map<String, Object> map) {
        return trademarkDao.list(map);
    }

    @Override
    public int count(Map<String, Object> map) {
        return trademarkDao.count(map);
    }

    @Override
    public int save(TrademarkDO trademark) {
        return trademarkDao.save(trademark);
    }

    @Override
    public int update(TrademarkDO trademark) {
        return trademarkDao.update(trademark);
    }

    @Override
    public int remove(Integer id) {
        return trademarkDao.remove(id);
    }

    @Override
    public int batchRemove(Integer[] ids) {
        return trademarkDao.batchRemove(ids);
    }

}
